package com.yygo.service;

import com.yygo.model.LoanRequest;

import java.math.BigDecimal;

/**
 * Created by tiansha on 2015/11/28.
 */
public interface MoneyService {

    BigDecimal calculateLoanAmount(LoanRequest loanRequest);

    BigDecimal calculateMonthLoanAmount(LoanRequest loanRequest);

    void approvePrepayment(Long payId, String operator);

    void approveTransfer(Long reqId, String operator);

    void transferMoney(Long reqId, String operator);
}
